{% extends "base.html" %}
{% load static %}
{% block content %}
    <div id="lunbo"></div>
    <div class="shop_list">
        <div class="list1_box">
            {% for goods_obj in goods_obj_list %}
                <div class="list_box">
                    <dl>
                        <!-- 完善a标签href属性 -->
                        <a href="/Buyer/goods_details/?id={{ goods_obj.id }}">
                            <!-- 完善img标签src属性 -->
                            <dt><img src="{% static goods_obj.image_set.first.img_address.name %}"/></dt>
                            <dd align="center">
                                <!-- 需传入商品名称 -->
                                <p>{{ goods_obj.goods_name }}</p>
                                <!-- 需传入商品价格 -->
                                <p>￥{{ goods_obj.goods_cprice }}元</p>
                            </dd>
                        </a>
                    </dl>
                </div>
            {% endfor %}
        </div>
    </div>

{% endblock %}